#include "latch.h"
#include "Delay.h"

unsigned char code NixieTable[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,0xff,0xbf};

void nixieshow(unsigned char wei,unsigned char number)
{
	latch(NIXIE_D,0x00);
	latch(NIXIE_W,0x01<<(wei - 1));
	latch(NIXIE_D,NixieTable[number]);
	Delay(2);
}